import { getAction, deleteAction, putAction, postAction, httpAction, downFile, downFilePost } from '@/api/manage'
const serviceName = '/jeecg-fz'
// 左右列表
// 新增预警趋势
const getDissuadedOverview = params => getAction(`${serviceName}/statistics/bigscreen/getDissuadedOverview`, params)
// 新增预警趋势
const getWarningTrend = params => getAction(`${serviceName}/statistics/index/getWarningTrend`, params)
// 预警推送趋势
const getWarningPushTrend = params => getAction(`${serviceName}/statistics/index/getWarningPushTrend`, params)
// 劝阻状态占比
const getDissuadeStateProportion = params => getAction(`${serviceName}/analysis/dissuade/getDissuadeStateProportion`, params)
// 处置方式占比
const getDisposalProportion = params => getAction(`${serviceName}/analysis/dissuade/getDisposalProportion`, params)
// 反馈情况占比
const getFeedbackProportion = params => getAction(`${serviceName}/analysis/dissuade/getFeedbackProportion`, params)
// 反馈情况趋势
const getFeedbackTrend = params => getAction(`${serviceName}/analysis/dissuade/getFeedbackTrend`, params)
// 劝阻状态趋势
const getDissuadeStateTrend = params => getAction(`${serviceName}/analysis/dissuade/getDissuadeStateTrend`, params)
// 处置方式趋势
const getDisposalTrend = params => getAction(`${serviceName}/analysis/dissuade/getDisposalTrend`, params)
// 未接原因趋势
const getMissedCallTrend = params => getAction(`${serviceName}/analysis/dissuade/getMissedCallTrend`, params)
// 止损金额概况趋势
const getStopLossAmountTrend = params => getAction(`${serviceName}/analysis/dissuade/getStopLossAmountTrend`, params)
// 预警诈骗类型占比
const getFraudTypeRatio = params => getAction(`${serviceName}/warningAnalysis/getFraudTypeRatio`, params)
// 预警诈骗等级占比
const getFraudLevelRatio = params => getAction(`${serviceName}/warningAnalysis/getFraudLevelRatio`, params)
// 预警数据来源占比
const warningDataSourceRatio = params => getAction(`${serviceName}/statistics/bigscreen/warningDataSourceRatio`, params)
// 案件统计
const caseScreen = params => getAction(`${serviceName}/statistics/bigscreen/caseScreen`, params)
// 案件数、嫌疑人数量变化趋势
// const caseAreaQuery = params => getAction(`${serviceName}/statistics/bigscreen/caseAreaQuery`, params)

// 预警速报列表（底部列表）
const warningList = params => getAction(`${serviceName}/statistics/bigscreen/warningList`, params)
const viewWarningDataDetail = params => postAction(`${serviceName}/viewWarningDataDetail/list`, params)

// 地图
const getMapIndicators = params => getAction(`${serviceName}/statistics/bigscreen/getMapIndicators`, params)



// 公共
const getXzqhList = params => getAction(`${serviceName}/common/getXzqhList`, params)


// 地图

export {
  getDissuadedOverview,
  getWarningTrend,
  getWarningPushTrend,
  getDissuadeStateProportion,
  getDisposalProportion,
  getFeedbackProportion,
  getFeedbackTrend,
  getDissuadeStateTrend,
  getDisposalTrend,
  getMissedCallTrend,
  getStopLossAmountTrend,
  getFraudTypeRatio,
  getFraudLevelRatio,
  warningDataSourceRatio,
  caseScreen,
  // caseAreaQuery,
  
  
  warningList,
  viewWarningDataDetail,
  getMapIndicators,
  getXzqhList
}
